package com.nefu.huiyi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@TableName("material")
@Data
public class Material {


        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        @Schema(description = "材料名称")
        @TableField("name")
        private String name;

        @Schema(description = "材料种类")
        @TableField("category")
        private String category;

        @Schema(description = "数量")
        @TableField("quantity")
        private Integer quantity;

        @Schema(description = "备注")
        @TableField("remark")
        private String remark;



}
